package com.miage.itrading.client;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.miage.itrading.shared.entites.Cotation;
import com.miage.itrading.shared.entites.Historique;
import com.miage.itrading.shared.entites.Intraday;

@RemoteServiceRelativePath("getListesService")
public interface GetListesService extends RemoteService {

	public Cotation getByMnemo(String searchTxt);

	public Cotation getCotationById(int id);

	public Cotation getCotationByMnemo(String mnemo);

	public List<Historique> getHistorique(int idCotation, Date start, Date end);

	public List<Cotation> getIndiceComposition(int idIndice);

	public List<Cotation> getIndices();

	public List<Intraday> getIntraday(int idCotation, Date range);
}
